package com.example.mapper;

import com.example.entity.Employee;

import java.util.List;

public interface EmployeeMapper {

    void insert(Employee emp);

    void deleteById(Integer id);

    void deleteByUserId(Integer id);

    void updateById(Employee emp);

    List<Employee> selectAll();

    Employee selectById(Integer id);
}
